package pratica04;

/**
 *
 * @author a100101
 */
public class Sanduiche implements parteSanduiche{
    
    private String descricao;
    private double preco;
    
    public Sanduiche(double preco, String descricao){
        this.descricao = descricao;
        this.preco = preco;
    }

    @Override
    public double getPreco() {
        return this.preco;
    }

    @Override
    public void getDescricao() {
        System.out.println("Sanduiche: "+this.descricao+"\n");
    }
    
}
